home *** CD-ROM | disk | FTP | other *** search
- property ancestor
- global gDBTextVarList
-
- on new me, buttonName, castName, xSprite, xLoc, descendant
- ancestor = new(script("generic button"), buttonName, castName, xSprite, xLoc, me)
- return me
- end
-
- on performFunction me
- tell the stage
- playSFX(5)
- end tell
- MyObj = getaProp(gDBTextVarList, GetObjProp())
- repeat while soundBusy(1)
- end repeat
- save(MyObj)
- end
-
- on buttonLoc me, size
- set the loc of sprite the pChannel of me to getAt([me.pStageLoc, point(613, 18)], size)
- return me
- end
-